package cn.com.generaldata.os.common;

public class DataSourseChance {
	public static void dataChance(String channelId) {
		if (channelId.equals("130000")) {
			ContextHolder.setCustomerType(DataSourceMap.SLAVE);
		} else if (channelId.equals("120000")) {
			ContextHolder.setCustomerType(DataSourceMap.MASTER);
		}
	}
}
